<?php

namespace App\Models\Sys;

use Illuminate\Database\Eloquent\Model;

class Ads extends Model
{

    protected $table = 'jxt_sys_ads';
    public $primaryKey = 'add_id';

    const CREATED_AT = 'created_at';
    const UPDATED_AT = null;

    public function category()
    {
        return $this->belongsTo(AdsCategory::Class, 'category_id');
    }



}
